.popup {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba($color-black, 0.8);
  width: 100%;
  height: 100vh;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;

  &:target {
    opacity: 1;
    visibility: visible;
  }
  &:target &__content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  &__close {
    display: inline-block;
    position: absolute;
    right: 2.5rem;
    top: 2.5rem;
    font-size: 3rem;
    text-decoration: none;
    color: $color-gray-dark;
    transition: all 0.2s;
    line-height: 1;

    &:hover {
      color: $color-primay;
    }
  }

  &__content {
    @include absCenter;
    width: 75%;
    background-color: $color-white;
    box-shadow: 0 2rem 4rem rgba($color-black, 0.2);
    border-radius: 3px;
    display: table;
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
    transition: all 0.5s 0.2s;
  }

  &__left {
    width: calc(100% / 3);
    display: table-cell;
  }
  &__right {
    width: calc(100% - (100% / 3));
    display: table-cell;
    vertical-align: middle;
    padding: 3rem 5rem;
  }
  &__img {
    display: block;
    width: 100%;
    object-fit: cover;
  }
  &__text {
    font-size: 1.4rem;
    margin-bottom: 4rem;
    // 分成2列显示
    column-count: 2;
    // 列间隔
    column-gap: 4rem;
    // 列之间的分割线
    column-rule: 1px solid $color-gray-light-2;
    // 连字符
    hyphens: auto;
  }
}
